package com.home766.service.impl;

import com.home766.dao.AccountNumberDao;
import com.home766.entity.AccountNumber;
import com.home766.service.AccountNumberService;
import net.biz.service.impl.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service("accountNumberServiceImpl")
@Transactional
public class AccountNumberServiceImpl extends BaseServiceImpl<AccountNumber,Long> implements AccountNumberService{
	@Autowired
	private AccountNumberDao accountNumberDao;
	@Autowired
	public void setBaseDao(AccountNumberDao accountNumberDao) {
		super.setBaseDao(accountNumberDao);
	}
	@Override
	public AccountNumber getNewest() {
		// TODO Auto-generated method stub
		return accountNumberDao.getNewest();
	}
}
